<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>

    <h1>首页</h1>

    <form th:action="@{/save/emp}" method="post">
        姓名：<input type="text" name="empName" /><br/>
        年龄：<input type="text" name="empAge" /><br/>
        邮箱：<input type="text" name="empEmail" /><br/>
        <button type="submit">保存</button>
    </form>

</body>
</html>